// production  development
const NODE_ENV=process.env.NODE_ENV||'development';
const config={
    development:{
        apiHost:'http://www.y.com/',
        webSocketPort:8088,
        httpPort:8089,
        pwd:'socket',//管理员密码
        db:{
            host:'127.0.0.1',
            port:3306,
            database:'data',
            user:'root',
            prefix:'t_',
            password:'root',
        }
    },
    production:{
        apiHost:'http://veishou.com/',
        webSocketPort:10,
        httpPort:10,
        pwd:'',//管理员密码
        db:{
            host:'127.0.0.1',
            port:3306,
            database:'',
            user:'',
            prefix:'',
            password:'',
        }
    }
} 

module.exports=config[NODE_ENV];
